package com.ruoyi.wq.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.mybatis.base.BaseEntity;

/**
 * 任务对象 wq_task
 * 
 * @author ruoyi
 * @date 2024-05-08
 */
public class WqTask extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.UUID)
    private String id;

    /** 任务标题 */
    @Excel(name = "任务标题")
    private String title;

    /** 任务描述 */
    @Excel(name = "任务描述")
    private String taskDesc;

    /** 任务类型 */
    @Excel(name = "任务类型")
    private String taskType;

    /** 任务奖励 */
    @Excel(name = "任务奖励")
    private Integer taskCoin;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 是否热门（0否 1是） */
    @Excel(name = "是否热门", readConverterExp = "0=否,1=是")
    private Long hot;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTaskDesc(String taskDesc) 
    {
        this.taskDesc = taskDesc;
    }

    public String getTaskDesc() 
    {
        return taskDesc;
    }
    public void setTaskType(String taskType) 
    {
        this.taskType = taskType;
    }

    public String getTaskType() 
    {
        return taskType;
    }
    public void setTaskCoin(Integer taskCoin) 
    {
        this.taskCoin = taskCoin;
    }

    public Integer getTaskCoin() 
    {
        return taskCoin;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setHot(Long hot) 
    {
        this.hot = hot;
    }

    public Long getHot() 
    {
        return hot;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("taskDesc", getTaskDesc())
            .append("taskType", getTaskType())
            .append("taskCoin", getTaskCoin())
            .append("sort", getSort())
            .append("hot", getHot())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
